<!--
author:俞婧
create time:2020-07-21
update time:2020-07-21
 -->

{% extends 'login/../base.html' %}

{% block title %}找回密码{% endblock %}
{% block content %}
    <div class="container">
        <div class="col-md-4 col-md-offset-4">
          <form class='form-findpwd' action="/findpwd/" method="get">

              {% if message %}
              <div class="alert alert-warning">{{ message }}</div>
              {% endif %}
               {% csrf_token %}
              <h2 class="text-center">找回密码？</h2>
                {{ findpwd_form.name_of_field }}
                <div class="form-group">
                    {{ findpwd_form.username.label_tag }}
                    {{ findpwd_form.username}}
                </div>
                <div class="form-group">
                    {{ findpwd_form.email.label_tag }}
                    {{ findpwd_form.email }}
                </div>

              <button type="submit" class="btn btn-primary pull-right">确定</button>
          </form>
        </div>
    </div> <!-- /container -->
{% endblock %}